package com.xxin.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 开药明细表
 */
public class PrescriptionDetail implements Serializable {
	private Long id;
	
	/**
	 * 药方表主键ID
	 */
	private Long prescriptionId;
	
	/**
	 * 挂号单表主键ID
	 */
	private Long registryId;
	
	/**
	 * 药品表主键ID
	 */
	private Long drugId;
	
	/**
	 * 病人表主键ID
	 */
	private Long patientId;
	
	/**
	 * 药品数量
	 */
	private Integer amount;
	
	/**
	 * 是否是医保用药 1-->不是医保用药，2-->是医保用药
	 */
	private Integer isMedicare;
	
	/**
	 * 药品原始价格
	 */
	private BigDecimal price;
	
	/**
	 * 实际支付价格
	 */
	private BigDecimal payPrice;
	
	/**
	 * 医保报销金额
	 */
	private BigDecimal medicarePrice;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getPrescriptionId() {
		return prescriptionId;
	}
	
	public void setPrescriptionId(Long prescriptionId) {
		this.prescriptionId = prescriptionId;
	}
	
	public Long getRegistryId() {
		return registryId;
	}
	
	public void setRegistryId(Long registryId) {
		this.registryId = registryId;
	}
	
	public Long getDrugId() {
		return drugId;
	}
	
	public void setDrugId(Long drugId) {
		this.drugId = drugId;
	}
	
	public Long getPatientId() {
		return patientId;
	}
	
	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}
	
	public Integer getAmount() {
		return amount;
	}
	
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	
	public Integer getIsMedicare() {
		return isMedicare;
	}
	
	public void setIsMedicare(Integer isMedicare) {
		this.isMedicare = isMedicare;
	}
	
	public BigDecimal getPrice() {
		return price;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	
	public BigDecimal getPayPrice() {
		return payPrice;
	}
	
	public void setPayPrice(BigDecimal payPrice) {
		this.payPrice = payPrice;
	}
	
	public BigDecimal getMedicarePrice() {
		return medicarePrice;
	}
	
	public void setMedicarePrice(BigDecimal medicarePrice) {
		this.medicarePrice = medicarePrice;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}